home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 October / CHIP Turkiye Ekim 2000.iso / prog / naps / 04 / setup.exe / Gnucleus / ViewNode.h < prev    next >
C/C++ Source or Header  |  2000-06-24  |  2KB  |  99 lines

  1. #if !defined(AFX_VIEWNODE_H__1AE2E5DA_1AB4_11D4_ACF2_00A0CC533D52__INCLUDED_)
  2. #define AFX_VIEWNODE_H__1AE2E5DA_1AB4_11D4_ACF2_00A0CC533D52__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // ViewNode.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CViewNode form view
  12.  
  13. #ifndef __AFXEXT_H__
  14. #include <afxext.h>
  15. #endif
  16.  
  17. class CViewNode : public CFormView
  18. {
  19. protected:
  20.     CViewNode();           // protected constructor used by dynamic creation
  21.     DECLARE_DYNCREATE(CViewNode)
  22.  
  23. // Form Data
  24. public:
  25.     //{{AFX_DATA(CViewNode)
  26.     enum { IDD = IDD_VIEW_NODE };
  27.     CButton    m_chkQueryHits;
  28.     CButton    m_chkPushes;
  29.     CButton    m_chkUnknowns;
  30.     CButton    m_chkTTL;
  31.     CButton    m_chkQueries;
  32.     CButton    m_chkPongs;
  33.     CButton    m_chkDropped;
  34.     CButton    m_chkGUID;
  35.     CButton    m_chkHops;
  36.     CButton    m_chkPayload;
  37.     CButton    m_chkPings;
  38.     CEdit    m_ebLog;
  39.     CString    m_strNodeBadStat;
  40.     CString    m_strNodeRecivedStat;
  41.     CString    m_strNodeSentStat;
  42.     //}}AFX_DATA
  43.  
  44. // Attributes
  45. public:
  46.     CString HostPort;
  47.     CGnuSock *Node;
  48.  
  49. // Operations
  50. public:
  51.  
  52. // Overrides
  53.     // ClassWizard generated virtual function overrides
  54.     //{{AFX_VIRTUAL(CViewNode)
  55.     public:
  56.     virtual void OnInitialUpdate();
  57.     protected:
  58.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  59.     //}}AFX_VIRTUAL
  60.  
  61. // Implementation
  62. protected:
  63.     UINT UpdateTimer;
  64.  
  65.     virtual ~CViewNode();
  66. #ifdef _DEBUG
  67.     virtual void AssertValid() const;
  68.     virtual void Dump(CDumpContext& dc) const;
  69. #endif
  70.  
  71.     // Generated message map functions
  72.     //{{AFX_MSG(CViewNode)
  73.     afx_msg void OnSize(UINT nType, int cx, int cy);
  74.     afx_msg void OnTimer(UINT nIDEvent);
  75.     afx_msg void OnClose();
  76.     afx_msg void OnChkPings();
  77.     afx_msg void OnChkPongs();
  78.     afx_msg void OnPushes();
  79.     afx_msg void OnChkQueries();
  80.     afx_msg void OnChkQueryhits();
  81.     afx_msg void OnChkUnknowns();
  82.     afx_msg void OnChkGuid();
  83.     afx_msg void OnChkHops();
  84.     afx_msg void OnChkTtl();
  85.     afx_msg void OnChkPayload();
  86.     afx_msg void OnChkDropped();
  87.     afx_msg void OnChkPushes();
  88.     afx_msg void OnButtonFlush();
  89.     //}}AFX_MSG
  90.     DECLARE_MESSAGE_MAP()
  91. };
  92.  
  93. /////////////////////////////////////////////////////////////////////////////
  94.  
  95. //{{AFX_INSERT_LOCATION}}
  96. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  97.  
  98. #endif // !defined(AFX_VIEWNODE_H__1AE2E5DA_1AB4_11D4_ACF2_00A0CC533D52__INCLUDED_)
  99.